package com.blb.marry.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.marry.entity.Hotel;
import org.apache.ibatis.annotations.Param;

public interface HotelMapper extends BaseMapper<Hotel> {
    //分页
    IPage<Hotel> selectHotelPage(@Param("page") Page<Hotel> page);
    //    查询hotel表信息
    Hotel selectHotel (Long hotelId);
}
